package com.foryou.wechat.model.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * Created by Lee.
 */

@Data
public class ShootDTO {

    @NotNull(message="约拍类型不能为空")
    private Integer shootType;

    @NotBlank(message="约拍要求不能为空")
    @Length(min=1,max = 500,message="约拍要求长度位于1到500位之间")
    private String requirement;

    @NotNull(message="收费模式不能为空")
    private Integer chargingModel;

    @NotBlank(message="面向地区不能为空")
    private String region;

    private String shootTime;

    private String shootAddress;

    private String shootFile;

    private String price;

    @NotNull(message="约拍主题不能为空")
    private String subjectIds;

}
